
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
  <title>Title</title>
</head>
<body>


<%--导入头部页面--%>
<c:import url="top.jsp"></c:import>
<%--导入左边菜单栏页面--%>
<c:import url="left.jsp"></c:import>


<div class="content" id="app">
  <div class="header">

    <h1 class="page-title">会员管理</h1>
  </div>

  <ul class="breadcrumb">
    <li><a href="accountmanager.jsp">会员管理</a> <span class="divider">/</span></li>
    <li class="active">查看会员信息</li>
  </ul>

  <div class="container-fluid">

    <div class="row-fluid">

      <div class="block">
        <a href="#page-filter" class="block-heading" data-toggle="collapse">筛选</a>
        <div id="page-filter" class="block-body collapse in">
          <div class="search-well">
            <form class="form-inline" role="search"  id="form-inline"
                  action="${pageContext.request.contextPath }/member/selectuser.do" method="post">
              <input type="text" class="form-control" placeholder="请输入关键字(模糊查询)"
                     name="stu_name"/>
              <input type="text" class="form-control"
                     placeholder="请选择注册时间" id="datepicker" name="date"/>
              <select class="form-control" name="stu_sex">
                <option value="-1" selected="selected">--请选择状态--</option>
                <option value="1">激活</option>
                <option value="0">未激活</option>
              </select>
              <button type="submit" class="btn btn-default"  > <i class="icon-search"></i> 查询</button>

            </form>
          </div>
        </div>
      </div>
    </div>

    <div class="row-fluid">

      <span>共有 <b></b> 条记录</span>

      <div class="well">
        <table class="table">
          <thead>
          <tr id="theTableTitle">
            <th>编号</th>
            <th>用户名</th>
            <th>邮箱</th>
            <th>性别</th>
            <th>电话</th>
            <th>状态</th>
            <th>在线</th>
            <th>注册时间</th>
            <th>操作</th>
          </tr>
          </thead>


          <tbody>

          <c:forEach items="${requestScope.userdcf}" var="info">
            <tr  >
              <td>${info.user_id}</td>
              <td>${info.user_name}</td>
              <td>${info.user_email}</td>
              <td>${info.user_sex}</td>
              <td>${info.user_phone}</td>
              <td>
                <c:choose>
                  <c:when test="${info.is_activated == 1}">
                    激活
                  </c:when>


                  <c:otherwise>
                    未激活
                  </c:otherwise>
                </c:choose>
              </td>
              <td>
                <c:choose>
                  <c:when test="${info.is_online == 1}">
                    <img src="${pageContext.request.contextPath}/static/images/yes.gif">
                  </c:when>


                  <c:otherwise>
                    <img src="${pageContext.request.contextPath}/static/images/no.gif">
                  </c:otherwise>
                </c:choose>

              </td>
              <td>
                  ${info.time_zc}

              </td>
              <td>
                <a href="/EShopManager/books/queryinfo.action?book_id=" title="编辑"><i
                        class="icon-pencil"></i></a>
                <a href="javascript:deleteClick()" title="删除"><i class="icon-remove"></i></a>
              </td>
            </tr>
          </c:forEach>


          </tbody>






        </table>
      </div>
      <div class="pagination pagination myul">
        <ul>
          <li class='disabled'><a href="#">&laquo;首页</a></li>
          <li class='disabled'><a href="#">上一页</a></li>
          <li><a href="#">1</a></li>
          <li class='active'><a href="#">2</a></li>
          <li><a href="#">3</a></li>
          <li><a href="#">4</a></li>
          <li><a href="#">下一页</a></li>
          <li><a href="#">尾页&raquo;</a></li>
        </ul>
      </div>


    </div>

  </div>
</div>



</body>
</html>